Hey All,
So, if I wanted to make the rabbit (a certain player) jump higher than other players, could I use the keypress event to check and see if a player has pressed their jump key? If so, how would I do it? The event system documentation is a bit vague with this event.
Trying to accomplish the following:
Code:local.result = registerev "keypress" global/example.scr::keypress keypress local.player local.keynum: if(local.keynum == [PLAYER_JUMP_KEY]){ if(local.player == level.rabbit){ level.rabbit jump int(getcvar("r_jumpHeight")) } } end




Reply With Quote


